<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:pe="http://primefaces.org/ui/extensions">

<f:view contentType="text/html">
    <h:head>
        <f:facet name="first">
            <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
            <title>#{text.applicationTitle}</title>
        </f:facet>
        <link type="text/css" rel="stylesheet" href="#{request.contextPath}/resources/css/default.css"/>
    </h:head>
    <h:body>
        <pe:layout options="#{homeLayout.layoutOptions}">

            <pe:layoutPane position="north" styleClassContent="header" size="26" closable="false" resizable="false">
                <h:outputText value="#{text.applicationTitle}"/>
            </pe:layoutPane>

            <pe:layoutPane id="left" position="west" size="250" minSize="250">
                <ui:include src="/pages/snippets/leftMenu.xhtml"/>
            </pe:layoutPane>

            <pe:layoutPane id="center" position="center">
                <ui:insert name="content"/>
            </pe:layoutPane>

            <pe:layoutPane position="south" styleClassContent="footer" closable="false" resizable="false">
                © Copyright 2013 <a href="http://sunrisesoft.vn">#{text['company.name']}</a>
            </pe:layoutPane>

        </pe:layout>
    </h:body>
</f:view>
</html>